<ul class="dux-tab uk-clearfix">
    <li>
        <a href="{url('member/Setting/password')}">登录密码</a>
    </li>
    <li class="active">
        <a href="{url('member/Setting/payPassword')}">支付密码</a>
    </li>
</ul>
<div class="dux-tab-body uk-padding">
    <form class="dux-form uk-form  uk-form-horizontal" action="{url()}" method="post" data-dux="form-bind">
        <div class="uk-form-group">
            <label class="uk-form-label">支付密码</label>
            <div class="uk-form-controls">
                <input type="text" name="password"  placeholder="6位数字密码" pattern="^\d{6}$" required data-validation-message="请输入6位数字密码">
            </div>
        </div>
        <div class="uk-form-group">
            <label class="uk-form-label">验证方式</label>
            <div class="uk-form-controls">
                <div class="uk-input-group">
                    <select name="valtype" id="valtype" class="uk-form-field">
                        <!--if{$userInfo.tel}-->
                        <option value="0">手机验证</option>
                        <!--{/if}-->
                        <!--if{$userInfo.email}-->
                        <option value="1">邮箱验证</option>
                        <!--{/if}-->
                    </select>
                </div>
            </div>
        </div>

        <div class="uk-form-group">
            <label class="uk-form-label">验证码</label>
            <div class="uk-form-controls">
                <div class="uk-input-group">
                    <input type="text" class="uk-form-field" placeholder="请输入验证码" name="val_code">

                    <span class="uk-input-group-btn">
                                            <button href="javascript:;" class="uk-button uk-button-small uk-button-primary" data-dux="page-getCode"
                                                    data-url="{url('member/Real/getCode')}" data-field="valtype"
                                                    type="button">获取验证码</button>
                                        </span>
                </div>
            </div>
        </div>
        <div class="uk-form-group">
            <div class="uk-form-controls uk-form-controls-text">
                <button type="submit" class="uk-button uk-button-primary">修改密码</button>
            </div>
        </div>


    </form>
</div>